package com.openbravo.data.user;

import java.util.Properties;

import com.openbravo.data.basic.BasicException;

public interface EditorRecord<T> extends EditorCreator<T>{
	public static int STATE_Insert=0;
    public static int STATE_Edit=1;
    public static int STATE_Delete=2;
    public static int STATE_EOF=3;
	
	public abstract void writeValueEOF();

	public abstract void writeValueInsert(Properties prop);

	public abstract void writeValueEdit(T value); // not null por definicion.

	public abstract void writeValueDelete(T value); // not null por definicion.

	public abstract void refresh();

	public abstract void activate() throws BasicException;

	public abstract String getLogerString();

	public abstract boolean isLogAble();

}